package com.example.core.shiroLogin.service.serviceImpl;

import com.example.core.shiroLogin.DTO.UserDTO;
import com.example.core.shiroLogin.dao.ShiroLoginDao;
import com.example.core.shiroLogin.service.ShiroLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName ShiroLoginServiceImpl
 * @Author zhangzhaoyang
 * @Date 2019/10/21 16:44
 **/
@Service
public class ShiroLoginServiceImpl implements ShiroLoginService {
    @Autowired
    protected ShiroLoginDao shiroLoginDao ;

    @Override
    public UserDTO queryUserPassword(String password) {
        UserDTO resultPassword = shiroLoginDao.queryUserPassword(password);
        return resultPassword;
    }
}
